#include "BlinkToRadio.h"

configuration BlinkToRadioC{
}
implementation{
	components MainC;
	//components MicaBusC;
	components LedsC;
	components BlinkToRadioP as App;
	components DiagMsgC;
	components PlatformC;
	//components ActiveMessageC;

	//App.Int0 -> MicaBusC.Int0;


	components SerialActiveMessageC as Serial;
	//components ActiveMessageC as Radio;
	
	components new TimerMilliC() as Timer0;
	components new SerialAMSenderC(AM_BLINKTORADIOMSG) as AccSend;

	App.Timer0 -> Timer0;

	App.Boot -> MainC;
	App.Leds -> LedsC;

	App.DiagMsg -> DiagMsgC;


	App.SerialControl -> Serial;
	App.SerialPacket-> Serial;
	
	App.UartSend -> AccSend;



}